package org.example.sys.bean;

import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class TableData<T> {
    private List<T> tableData;
    private Pagination pagination;

    @Getter
    @Setter
    @Builder
    public static class Pagination {
        private int currentPage;
        private int pageSize;
        private long total;
    }
}


